<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p= "http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets" > 
    <h:head>         
    </h:head>
    <h:body>
        <ui:composition template="/WEB-INF/facelets/templates/template_pagina.xhtml">
            <ui:define name="center">
                <p:panel id="panelReportes" header="#{msg.reportes}" styleClass="border">
                    <h:form id="formReportes">
                        <h:panelGrid columns="2"  cellpadding="2"  cellspacing="6"  style="width: 100%;">
                            <h:panelGrid columns="1"  cellpadding="2"  cellspacing="6"  style="width: 600px;"  styleClass="border" rendered="#{bReportes.bandreportes}">
                                <p:commandLink id="reporte1" title="reporte1" value="#{msg.labelReporte1}" 
                                               action="#{bReportes.doActivarReporte1()}"  async="true" update="formReportes" />
                            </h:panelGrid>
                            <p:outputPanel   style="width: 600px;" rendered="#{!bReportes.bandreportes}">
                                <p:panel id="panelreporte1" header="#{msg.reporte1}" styleClass="border" rendered="#{bReportes.bandreporte1}">
                                    <h:outputText  value="#{msg.producto}"  style="width:350px;font-weight:bold;"/>
                                    
                                </p:panel>
                            </p:outputPanel>
                        </h:panelGrid>
                    </h:form>
                </p:panel>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

